﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicCMS.Data
{
    static class Util
    {
        public static StringBuilder TrimEnd(this StringBuilder builder)
        {
            while (builder[builder.Length - 1] == ',')
            {
                builder.Remove(builder.Length - 1, 1);
            }
            return builder;
        }
    }
}
